const http = uni.$u.http
import {assembleApi} from '../utils/base.js'
/**
 * 	前端导航
 * @param {Object} params
 * @param {Object} config
 */
export function getNavs(params={},config={}) {
	return http.post(assembleApi(`/api/navs/getNavs`,'News'),params,config);
}


/**
 * 	广告
 * @param {Object} params
 * @param {Object} config
 */
export function getAdvsList(params={},config={}) {
	return http.post(assembleApi(`/api/advs/getAdvsList`,'News'),params,config);
}



/**
 * 	广告位列表
 * @param {Object} params
 * @param {Object} config
 */
export function getAdvsListByPos(params={},config={}) {
	return http.post(assembleApi(`/api/advs/getAdvsListByPos`,'News'),params,config);
}